package org.jeecg.modules.online.cgform.converter.p011b;

import java.util.HashMap;
import java.util.Map;
import org.jeecg.common.util.oConvertUtils;
import org.jeecg.modules.online.cgform.converter.p010a.ConfigConvert;
import org.jeecg.modules.online.cgform.entity.OnlCgformField;
import org.jeecg.modules.online.cgform.utils.CgformUtil;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/* renamed from: org.jeecg.modules.online.cgform.converter.b.a */
/* loaded from: hibernate-re-3.7.1-RC.jar:org/jeecg/modules/online/cgform/converter/b/a.class */
@Getter
@Setter
public class CatTreeConverter extends ConfigConvert {

    /* renamed from: f */
    private String treeText;

    public CatTreeConverter(OnlCgformField onlCgformField) {
        super(CgformUtil.f256ab, "ID", CgformUtil.f257ac);
        this.treeText = onlCgformField.getDictText();
        this.f170b = onlCgformField.getDbFieldName();
    }

    @Override // org.jeecg.modules.online.cgform.converter.p010a.ConfigConvert, org.jeecg.modules.online.cgform.converter.FieldCommentConverter
    public Map<String, String> getConfig() {
        if (oConvertUtils.isEmpty(this.treeText)) {
            return null;
        }
        Map hashMap = new HashMap(5);
        hashMap.put("treeText", this.treeText);
        hashMap.put("field", this.f170b);
        return hashMap;
    }
}
